package com.ericsson.smart;

import java.util.HashMap;
import java.util.Map;

import com.ericsson.smart.dao.ReportDAO;
import com.ericsson.smart.factory.UtilityReportDAOFactory;

public class UtilityReportMetaDataLoader {
	UtilityReportDAOFactory reportDAOFactory = new UtilityReportDAOFactory();

	Map<String, Object> reportMetaDataMap = new HashMap<String, Object>();

	String reportName = "ConsumptionReport";

	public Map<String, Object> loadReportMetaData() {
		System.out.println("REPORT-META-DATA: Inside loadReportMetaData of UtilityReportMetaDataLoader");
		ReportDAO reportDAO = reportDAOFactory.getReportDAO(reportName);
		return reportMetaDataMap = reportDAO.populateReportMetaData();
	}
}
